package com.entity;

import java.util.Date;

import org.apache.ibatis.type.Alias;
import org.joda.time.DateTime;
import org.springframework.format.annotation.DateTimeFormat;
/**
 * 新闻栏目表
 * @author MiBAO
 *
 */
@Alias("BaseNewsColumn")
public class NewsColumn  extends BaseEntity{
	private static final long serialVersionUID = 1L;
	
	//编号
	private String id;
	//栏目名称
	private String columnName;
	//创建时间
	private Date createTime;
	//图片信息
	private String imageInfo;
	//栏目封面
	private String columnCover;
	//URL链接
	private String ncurl;
	//栏目分类ID
	private String columnClassId;
	//String创建时间
	private String createTimeToString;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getColumnName() {
		return columnName;
	}
	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getImageInfo() {
		return imageInfo;
	}
	public void setImageInfo(String imageInfo) {
		this.imageInfo = imageInfo;
	}
	public String getColumnCover() {
		return columnCover;
	}
	public void setColumnCover(String columnCover) {
		this.columnCover = columnCover;
	}
	public String getNcurl() {
		return ncurl;
	}
	public void setNcurl(String ncurl) {
		this.ncurl = ncurl;
	}
	public String getCreateTimeToString() {
		return createTimeToString;
	}
	public void setCreateTimeToString(String createTimeToString) {
		this.createTimeToString = createTimeToString;
	}
	public String getColumnClassId() {
		return columnClassId;
	}
	public void setColumnClassId(String columnClassId) {
		this.columnClassId = columnClassId;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	@Override
	public String toString() {
		return "newsColumn [id=" + id + ", columnName=" + columnName
				+ ", createTime=" + createTime + ", imageInfo=" + imageInfo
				+ ", columnCover=" + columnCover + ", url=" + ncurl + "]";
	}
}